package com.huxi.lang.io;

import java.io.IOException;

public final class IORuntimeException extends RuntimeException {

	private static final long serialVersionUID = 1L;

	public IORuntimeException(IOException en) {
		super(en != null ? en : new IOException());
	}

	public IOException toIOException() {
		return (IOException) super.getCause();
	}

}
